﻿using JTZY.Model.Agent.Dto;
using JTZY.Model.Opdata.Dto;
using JTZY.Model.Order;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JTZY.Service.Opdata
{
    public interface ISaleDataService : IBaseService<Billaftersaledetail>
    {
       List<SaleOpdata> GetSaleData(CorecmsagentorderQueryDto queryDto);

        List<SaleTotalByTimeTypeModel> GetSaleSummaryByTimeType(int timeType, long userId);
        List<SaleTotalByItemTypeModel> GetSaleSummaryByItemType(long userId);

        PagedInfo<RptSaleDetail> GetRptSaleDetailPageList(RptSaleDetailQueryDto request);

        PagedInfo<RptSaleSummary> GetRptSaleSummaryPageList(RptSaleSummaryQueryDto request);
    }
}
